93. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2021-07-21 10:21:59 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

93.1 Files compared

#LocationFileLast Modified
1/Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Checkout/templates/cartminicart.phtml2021-05-01 04:03:32 +0000
2/Applications/Ampps/www/Porto v4.0.1/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Checkout/templates/cartminicart.phtml2021-06-24 08:53:08 +0000

93.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged2120
Changed00
Inserted113
Removed00

93.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

93.4 Active regular expressions

No regular expressions were active.

93.5 Comparison detail

1 <?php 1 <?php
2 /** 2 /**
3  * Copyright © 2015 Magento. All rights reserved. 3  * Copyright © 2015 Magento. All rights reserved.
4  * See COPYING.txt for license details. 4  * See COPYING.txt for license details.
5  */ 5  */
6  6 
7 // @codingStandardsIgnoreFile 7 // @codingStandardsIgnoreFile
8  8 
9 /** @var $block \Magento\Checkout\Block\Cart\Sidebar */ 9 /** @var $block \Magento\Checkout\Block\Cart\Sidebar */
10 $_portohelper = $this->helper('Smartwave\Porto\Helper\Data'); 10 $_portohelper = $this->helper('Smartwave\Porto\Helper\Data');
11 $cart_design = $_portohelper->getConfig('porto_design/header/header_minicart_design'); 11 $cart_design = $_portohelper->getConfig('porto_design/header/header_minicart_design');
12 ?> 12 ?>
13  13 
14 <div data-block="minicart" class="minicart-wrapper cart-design-<?php echo $cart_design ? $cart_design: '1'?>"> 14 <div data-block="minicart" class="minicart-wrapper cart-design-<?php echo $cart_design ? $cart_design: '1'?>">
15     <a class="action showcart" href="<?php echo $block->getShoppingCartUrl(); ?>" 15     <a class="action showcart" href="<?php echo $block->getShoppingCartUrl(); ?>"
16        data-bind="scope: 'minicart_content'"> 16        data-bind="scope: 'minicart_content'">
17        <i class="minicart-icon porto-icon-shopping-cart"></i> 17        <i class="minicart-icon porto-icon-shopping-cart"></i>
18         <span class="text"><?php echo __('Cart'); ?></span> 18         <span class="text"><?php echo __('Cart'); ?></span>
19         <span class="counter qty empty" 19         <span class="counter qty empty"
20               data-bind="css: { empty: !!getCartParam('summary_count') == false }, blockLoader: isLoading"> 20               data-bind="css: { empty: !!getCartParam('summary_count') == false }, blockLoader: isLoading">
21             <span class="counter-number"> 21             <span class="counter-number">
22             <!-- ko if: getCartParam('summary_count') --><!-- ko text: getCartParam('summary_count') --><!-- /ko --><!-- /ko --> 22             <!-- ko if: getCartParam('summary_count') --><!-- ko text: getCartParam('summary_count') --><!-- /ko --><!-- /ko -->
23             <!-- ko ifnot: getCartParam('summary_count') -->0<!-- /ko --> 23             <!-- ko ifnot: getCartParam('summary_count') -->0<!-- /ko -->
24             </span> 24             </span>
25             <span class="counter-label"> 25             <span class="counter-label">
26                 <!-- ko i18n: 'items' --><!-- /ko --> 26                 <!-- ko i18n: 'items' --><!-- /ko -->
27             </span> 27             </span>
28         </span> 28         </span>
29     </a> 29     </a>
    30     <a class="showcart action-subtotal d-none" href="<?php echo $block->getShoppingCartUrl(); ?>"
    31        data-bind="scope: 'minicart_content'">
    32         <span class="cart-subtotal">
    33           <?php echo __('Shopping Cart'); ?>
    34           <span class="cart-price">
    35             <span class="amount" data-bind="html: getCartParam('subtotal_excl_tax')">
    36               <!-- ko if: !getCartParam('subtotal_excl_tax') -->
    37                   <!-- ko i18n: '€ 0.00' --><!-- /ko -->
    38               <!-- /ko -->
    39             </span>
    40           </span>
    41         </span>
    42     </a>
30     <?php if ($block->getIsNeedToDisplaySideBar()): ?> 43     <?php if ($block->getIsNeedToDisplaySideBar()): ?>
31         <div class="block block-minicart empty" 44         <div class="block block-minicart empty"
32              data-role="dropdownDialog" 45              data-role="dropdownDialog"
33              data-mage-init='{"dropdownDialog":{ 46              data-mage-init='{"dropdownDialog":{
34                 "appendTo":"[data-block=minicart]", 47                 "appendTo":"[data-block=minicart]",
35                 "triggerTarget":".showcart", 48                 "triggerTarget":".showcart",
36                 "timeout": "2000", 49                 "timeout": "2000",
37                 "closeOnMouseLeave": false, 50                 "closeOnMouseLeave": false,
38                 "closeOnEscape": true, 51                 "closeOnEscape": true,
39                 "triggerClass":"active", 52                 "triggerClass":"active",
40                 "parentClass":"active", 53                 "parentClass":"active",
41                 "buttons":[]}}'> 54                 "buttons":[]}}'>
42             <div id="minicart-content-wrapper" data-bind="scope: 'minicart_content'"> 55             <div id="minicart-content-wrapper" data-bind="scope: 'minicart_content'">
43                 <!-- ko template: getTemplate() --><!-- /ko --> 56                 <!-- ko template: getTemplate() --><!-- /ko -->
44             </div> 57             </div>
45         </div> 58         </div>
46     <?php endif ?> 59     <?php endif ?>
47     <script> 60     <script>
48         window.checkout = <?php echo \Zend_Json::encode($block->getConfig()); ?>; 61         window.checkout = <?php echo \Zend_Json::encode($block->getConfig()); ?>;
49     </script> 62     </script>
50     <script type="text/x-magento-init"> 63     <script type="text/x-magento-init">
51     { 64     {
52         "[data-block='minicart']": { 65         "[data-block='minicart']": {
53             "Magento_Ui/js/core/app": <?php echo $block->getJsLayout();?> 66             "Magento_Ui/js/core/app": <?php echo $block->getJsLayout();?>
54         }, 67         },
55         "*": { 68         "*": {
56             "Magento_Ui/js/block-loader": "<?php echo $block->getViewFileUrl('images/loader-1.gif'); ?>" 69             "Magento_Ui/js/block-loader": "<?php echo $block->getViewFileUrl('images/loader-1.gif'); ?>"
57         } 70         }
58     } 71     }
59     </script> 72     </script>
60 </div> 73 </div>